﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Drawing;

public partial class Controls_con_newcomment : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    public void SetName(String logo, String mname, String rname, String rurl, String time, String style)
    {
        Image1.ImageUrl = logo;
        HyperLinkMname.Text = mname;
        HyperLinkRname.Text = rname;
        HyperLinkMname.ForeColor = Color.Blue;
        HyperLinkRname.ForeColor = Color.Blue;
        HyperLinkRname.NavigateUrl = rurl;
        LabelTime.Text = time;
        LabelStyle.Text = " 进行了" + style;
    }
}